package com.travel.entity;

/**
 * 	景点评论实体类
 * @author zourenhe
 *	@author 修改：zengbochao
 */

public class ScenicComment {

	private  Integer  commentId;
	private  String   commentContent;
	private  String   commentDatetime;
	private  Integer  userId;
	private  Integer  scenicId;
	private  Integer  parentCommentId;
	private User user;
	private Scenic scenic;
	public Integer getCommentId() {
		return commentId;
	}
	public void setCommentId(Integer commentId) {
		this.commentId = commentId;
	}
	public String getCommentContent() {
		return commentContent;
	}
	public void setCommentContent(String commentContent) {
		this.commentContent = commentContent;
	}
	public String getCommentDatetime() {
		return commentDatetime;
	}
	public void setCommentDatetime(String commentDatetime) {
		this.commentDatetime = commentDatetime;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public Integer getScenicId() {
		return scenicId;
	}
	public void setScenicId(Integer scenicId) {
		this.scenicId = scenicId;
	}
	public Integer getParentCommentId() {
		return parentCommentId;
	}
	public void setParentCommentId(Integer parentCommentId) {
		this.parentCommentId = parentCommentId;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public Scenic getScenic() {
		return scenic;
	}
	public void setScenic(Scenic scenic) {
		this.scenic = scenic;
	}
	public ScenicComment() {
		super();
		// TODO Auto-generated constructor stub
	}
	public ScenicComment(Integer commentId, String commentContent, String commentDatetime, Integer userId,
			Integer scenicId, Integer parentCommentId, User user, Scenic scenic) {
		super();
		this.commentId = commentId;
		this.commentContent = commentContent;
		this.commentDatetime = commentDatetime;
		this.userId = userId;
		this.scenicId = scenicId;
		this.parentCommentId = parentCommentId;
		this.user = user;
		this.scenic = scenic;
	}
	@Override
	public String toString() {
		return "ScenicComment [commentId=" + commentId + ", commentContent=" + commentContent + ", commentDatetime="
				+ commentDatetime + ", userId=" + userId + ", scenicId=" + scenicId + ", parentCommentId="
				+ parentCommentId + ", user=" + user + ", scenic=" + scenic + "]";
	}
	
	
	
	
}
